package testFile;

import java.io.File;
import java.io.IOException;

// 目录的创建和删除
public class FileDemo3 {
    public static void main(String[] args) throws IOException, InterruptedException {
        File file = new File("./bbb/aaa");
        System.out.println(file.mkdirs());
        System.out.println(file.isDirectory());

        Thread.sleep(1000);
        System.out.println(file.delete());
    }
}
